<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Db;
class Type extends Controller
{
		  public function index(){
		  	$type=Db::name("type")->select();
		   	$this->assign("tlist",$type);
		   	return $this->fetch();
		  }
}